package org.springblade.modules.mes.opcua.vo;

import lombok.Data;
import org.springblade.modules.mes.base.entity.PrdBom;

@Data
public class ScanTemp {
	private Long planNum;
	private Long actNum;

	private PrdBom mat;

	public ScanTemp(PrdBom mat, Long planNum, Long actNum) {
		this.mat = mat;
		this.planNum = planNum;
		this.actNum = actNum;
	}

	public boolean complete() {
		if (planNum <= actNum) {
			return true;
		}
		return false;
	}
}
